package org.dey.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_mental_health_assessment")
public class HealthAssessment implements Serializable {

   @TableField(exist = false)
    private Integer id;//序号
 @TableId(value = "haid", type = IdType.AUTO)
   private Integer haid;
    private String fileNumber;//档案号
    private String name;//姓名
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date dateOfAssessment;//评估时间
    private String somatization;//躯体化
    private String ocd;//强迫症化
    private String interpersonalSensitivity;//人际关系敏感
    private String hesitate;//犹豫
    private String anxious;//焦虑
    private String hostile;//敌对
    private String terrifying;//恐怖
    private String stubbornlyBiased;//偏执
    private String psychogenic;//精神病性

}
